<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Angular JS Expression</title>
    <script src="js/angular.min.js"></script>
</head>
<body>
<!--<div ng-app="">-->
    <!--<p>我的第一个表达式: {{ 5 + 5}}</p>-->
<!--</div>-->

<!--<div ng-app="" ng-init="quantity=1;cost=5">-->
    <!--<p>总价: {{quantity * cost}}</p>-->
<!--</div>-->

<!--<div ng-app="" ng-init="quantity=1;cost=5">-->
    <!--<p>总价: <span ng-bind="quantity * cost"></span></p>-->
<!--</div>-->

<!--<div ng-app="" ng-init="firstName='John';lastName='Doe'">-->
    <!--<p>姓名: {{firstName + " " + lastName}}</p>-->
<!--</div>-->

<!--<div ng-app="" ng-init="firstName='John';lastName='Doe'">-->
    <!--<p>姓名: <span ng-bind="firstName + ' ' + lastName"></span></p>-->
<!--</div>-->

<!--<div ng-app="" ng-init="person = {firstName:'John',lastName:'Doe'}">-->
    <!--<p>姓名: {{person.lastName}}</p>-->
<!--</div>-->

<!--<div ng-app="" ng-init="person = {firstName:'John',lastName:'Doe'}">-->
    <!--<p>姓名: <span ng-bind="person.lastName"></span></p>-->
<!--</div>-->

<!--<div ng-app="" ng-init="points=[1, 15, 19, 2, 40]">-->
    <!--<p>第三个值为: {{points[2]}}</p>-->
<!--</div>-->

<div ng-app="" ng-init="points=[1, 15, 19, 2, 40]">
    <p>第三个值为: <span ng-bind="points[2]"></span></p>
</div>
</body>
</html>